package ForSoSo.entity;

public abstract class ServicePackage {
   protected double price;//套餐月资费(元)

    public ServicePackage() {
    }

    public ServicePackage(double price) {
        this.price = price;
    }

    /**
     * 获取
     * @return price
     */
    public double getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(double price) {
        this.price = price;
    }

    public String toString() {
        return "ServicePackage{price = " + price + "}";
    }
    //显示套餐数据
    public abstract void showInfo();
}
